package com.zrrd.es.aaa;

import com.zrrd.es.service.ArticleContentService;
import com.zrrd.model.article.pojos.ApArticleContent;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.Arrays;
import java.util.List;

/**
 * @author WanJl
 * @version 1.0
 * @title ABC
 * @description
 * @create 2023/10/5 20:02
 */
public class ABC {
    @Autowired
    ArticleContentService service;

    public void aa(){
        List<ApArticleContent> list = service.list();
        System.out.println(Arrays.stream(list.toArray()).toArray());
    }

    public static void main(String[] args) {
        new ABC().aa();
    }
}
